package com.xfcycle.zebrabikegp.bean;

/**
 * 依靠自行车的Cid从服务器获取到 车的详细信息
 * Created by xFcycle on 2017/5/17.
 */

public class BikeDetailByCidResult {
    private String name;
    private String nickname;
    private String owner;
    private BikeLocationResult location;
    private String locationtime;
    private String alerttype;
    private String alerttime;
    private String cmd;

    public BikeDetailByCidResult() {
        super();
    }

    public BikeDetailByCidResult(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public BikeLocationResult getLocation() {
        return location;
    }

    public void setLocation(BikeLocationResult location) {
        this.location = location;
    }

    public String getLocationtime() {
        return locationtime;
    }

    public void setLocationtime(String locationtime) {
        this.locationtime = locationtime;
    }

    public String getAlerttype() {
        return alerttype;
    }

    public void setAlerttype(String alerttype) {
        this.alerttype = alerttype;
    }

    public String getAlerttime() {
        return alerttime;
    }

    public void setAlerttime(String alerttime) {
        this.alerttime = alerttime;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    @Override
    public String toString() {
        return "BikeDetailByCidResult{" +
                "name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", owner='" + owner + '\'' +
                ", location=" + location +
                ", locationtime='" + locationtime + '\'' +
                ", alerttype='" + alerttype + '\'' +
                ", alerttime='" + alerttime + '\'' +
                ", cmd='" + cmd + '\'' +
                '}';
    }
}
